package com.zbl.zblproject.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2019/2/27
 * 系统记录
 */
@TableName("zbl_system_log")
public class SystemLogger {

    /**
     * 确认的时间
     */
    private LocalDateTime time;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 消息
     */
    private String msg;

    /**
     * 操作URL
     */
    private String url;


    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "SystemLogger{" +
                "time=" + time +
                ", userName='" + userName + '\'' +
                ", msg='" + msg + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
